package com.study.dao;

import com.study.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {
    public abstract void submit(Order order);

    public abstract List<Order> findByCondition(Order order);

    public abstract Map<String,Object> findById(Integer id);

    public abstract Integer findOrderCountByDate(String today);

    public abstract Integer findOrderCountAfterDate(String thisWeekMonday);

    public abstract Integer findVisitsCountByDate(String today);

    public abstract Integer findVisitsCountAfterDate(String thisWeekMonday);

    public abstract List<Map<String,Object>> findHotSetmeal();


}
